Package com.cisco.pt.ipc.sim
Interface WirelessRouter
- All Superinterfaces:
CiscoDevice,Device,IPCObject,Router
- All Known Implementing Classes:
WirelessRouterImpl
Information provided by the PKI file:
\class WirelessRouter
\brief WirelessRouter handles and manipulates wireless routers
\example network().getDevice("Wireless Router0")
- Author:
- Auto-generated
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddNatEntry(String name, int extPort, int intPort, LinksysProtocol protoType, IPAddress ipAddress, boolean bEnable) Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:getNatEntryAt(int index) Information provided by the PKI file:intInformation provided by the PKI file:booleanInformation provided by the PKI file:voidInformation provided by the PKI file:voidInformation provided by the PKI file:voidremoveNatEntry(String name, int extPort, int intPort, LinksysProtocol protoType, IPAddress ipAddress, boolean bEnable) Information provided by the PKI file:voidsetDefaultGateway(IPAddress gateway) Information provided by the PKI file:voidsetDMZEntry(boolean bEnable, IPAddress ipAddress) Information provided by the PKI file:voidsetFirmwareVersion(String version) Information provided by the PKI file:voidInformation provided by the PKI file:voidsetRemoteManagementEnable(boolean bEnable) Information provided by the PKI file:Methods inherited from interface com.cisco.pt.ipc.sim.CiscoDevice
addBootSystem, addUserPassEntry, clearFtpPasswd, clearFtpUsername, enterCommand, getBannerMotd, getBia, getBootSystems, getConfigRegister, getConsole, getConsoleLine, getEnablePassword, getEnableSecret, getFtpPasswd, getFtpUsername, getHostName, getIpcTerminalLine, getLine, getNextConfigRegister, getServicePasswordEncryption, getStartupFile, getTimeZone, getUserEntryAt, getVtyLine, isBooting, isUserExist, removeAllBootSystem, removeBootSystem, removeUserPassAt, removeUserPassEntry, setBannerMotd, setEnablePassword, setEnableSecret, setFtpPasswd, setFtpUsername, setHostName, setNextConfigRegister, setServicePasswordEncryption, setStartupFile, setTimeZone, skipBootMethods inherited from interface com.cisco.pt.ipc.sim.Device
activityTreeToXml, addCustomVar, addDeviceExternalAttributes, addModule, addProgrammingSerialOutputs, addSound, addUserDesktopApp, addUserDesktopAppFromGlobal, clearDeviceExternalAttributes, clearProgrammingSerialOutputs, destroySounds, getAreaLeftX, getAreaTopY, getCenterXCoordinate, getCenterYCoordinate, getCommandLine, getCustomInterface, getCustomLogicalImage, getCustomPhysicalImage, getCustomVarNameAt, getCustomVarsCount, getCustomVarStr, getCustomVarValueStrAt, getDescriptor, getDeviceExternalAttributes, getDeviceExternalAttributeValue, getGlobalXPhysicalWS, getGlobalYPhysicalWS, getModel, getName, getPhysicalObject, getPort, getPortAt, getPortCount, getPorts, getPower, getProcess, getProgrammingSerialOutputs, getRootModule, getSerialNumber, getSupportedModule, getType, getUpTime, getUsbPortAt, getUsbPortCount, getUserDesktopAppAt, getUserDesktopAppByDir, getUserDesktopAppById, getUserDesktopAppCount, getXCoordinate, getXPhysicalWS, getYCoordinate, getYPhysicalWS, hasCustomVar, isDesktopAvailable, isOutdated, isProjectRunning, moveByInPhysicalWS, moveToLocation, moveToLocationCentered, moveToLocInPhysicalWS, playSound, relinkUserDesktopApp, removeCustomVar, removeModule, removeUserDesktopApp, restoreToDefault, runCodeInProject, runProject, serializeToXml, setCustomInterface, setCustomLogicalImage, setCustomPhysicalImage, setDeviceExternalAttributes, setName, setPower, setTime, stopProject, stopSound, stopSounds, subtractDeviceExternalAttributes, updateTemplateCreationTimeMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Router
addSubInt, addUserPass, changePortEncapsulation, getClassMapManager, getNetflowExporterManager, getNetflowMonitorManager, getNetflowRecordManager, getParameterMapManager, getPolicyMapManager, getUserPass, getUserPassCount, removeSubInt, removeUserPass
-
Method Details
-
setDefaultGateway
Information provided by the PKI file:
\brief Sets the default gateway. \param gateway, the IP address of the default gateway.- Parameters:
gateway- Takes in a parameter of gateway
-
setInternetConnectionType
Information provided by the PKI file:
\Sets the Internet connection type. \param type, the Internet connection type. Internet connection types: eDhcp = 0, ePppoe = 1, eStatic = 2- Parameters:
type- Takes in a parameter of type
-
getInternetConnectionType
InternetConnectionType getInternetConnectionType()Information provided by the PKI file:
\Returns the Internet connection type. \param InternetConnectionType, the Internet connection type. Internet connection types: eDhcp = 0, ePppoe = 1, eStatic = 2- Returns:
- InternetConnectionType Returns a InternetConnectionType
-
getDefaultGateway
IPAddress getDefaultGateway()Information provided by the PKI file:
\brief Returns the default gateway. \return ip, the IP address of the default gateway.- Returns:
- IPAddress Returns a IPAddress
-
setRemoteManagementEnable
void setRemoteManagementEnable(boolean bEnable) Information provided by the PKI file:
\brief Enables or disables remote management. \param bEnable, true to enable remote management, false to disable it.- Parameters:
bEnable- Takes in a parameter of bEnable
-
isRemoteManagementEnable
boolean isRemoteManagementEnable()Information provided by the PKI file:
\brief Returns true if remote management is enabled, otherwise false. \return bool, true if remote management is enabled, otherwise false.- Returns:
- boolean Returns a boolean
-
addNatEntry
void addNatEntry(String name, int extPort, int intPort, LinksysProtocol protoType, IPAddress ipAddress, boolean bEnable) Information provided by the PKI file:
\brief Adds a NAT (port forwarding) entry. \param name, the name of the NAT entry. \param extPort, the Externet port number. \param intPort, the Internet port number. \param protoType, the protocol type. Protocol types: eTcp = 0, eUdp = 1, eBoth = 2 \param ipAddress, the IP address to forward to. \param bEnable, true to enable port forwarding for this entry, false to disable it.- Parameters:
name- Takes in a parameter of nameextPort- Takes in a parameter of extPortintPort- Takes in a parameter of intPortprotoType- Takes in a parameter of protoTypeipAddress- Takes in a parameter of ipAddressbEnable- Takes in a parameter of bEnable
-
removeNatEntry
void removeNatEntry(String name, int extPort, int intPort, LinksysProtocol protoType, IPAddress ipAddress, boolean bEnable) Information provided by the PKI file:
\brief Removes the specified NAT (port forwarding) entry. \param name, the name of the NAT entry. \param extPort, the Externet port number. \param intPort, the Internet port number. \param protoType, the protocol type. Protocol types: eTcp = 0, eUdp = 1, eBoth = 2 \param ipAddress, the IP address to forward to. \param bEnable, true to enable port forwarding for this entry, false to disable it.- Parameters:
name- Takes in a parameter of nameextPort- Takes in a parameter of extPortintPort- Takes in a parameter of intPortprotoType- Takes in a parameter of protoTypeipAddress- Takes in a parameter of ipAddressbEnable- Takes in a parameter of bEnable
-
removeAllNatEntries
void removeAllNatEntries()Information provided by the PKI file:
\brief Removes all NAT (port forwarding) entries. -
getNatEntryCount
int getNatEntryCount()Information provided by the PKI file:
\brief Returns the number of NAT (port forwarding) entries. \return int, the number of NAT (port forwarding) entries.- Returns:
- int Returns a int
-
getNatEntryAt
Information provided by the PKI file:
\brief Returns the NAT configuration at the specified index. \param index, the index of the NAT configuration of interest. \return NatConfigEntry, the NatConfigEntry object at the specified index.- Parameters:
index- Takes in a parameter of index- Returns:
- NATConfigEntry Returns a NATConfigEntry
-
getNatEntries
List<NATConfigEntry> getNatEntries()Information provided by the PKI file:
\brief Returns the list of NAT configurations. \return vector<NatConfigEntry>, the list of NatConfigEntry objects.- Returns:
- List<NATConfigEntry> Returns a List<NATConfigEntry>
-
setFirmwareVersion
Information provided by the PKI file:
\brief Sets the firmware version. \param version, the firmware version.- Parameters:
version- Takes in a parameter of version
-
getFirmwareVersion
String getFirmwareVersion()Information provided by the PKI file:
\brief Returns the firmware version. \return QString, the firmware version.- Returns:
- String Returns a String
-
setDMZEntry
Information provided by the PKI file:
\brief Adds a DMZ entry. \param bEnable, true to enable DMZ, false to disable it. \param ipAddress, the IP address to place in the DMZ.- Parameters:
bEnable- Takes in a parameter of bEnableipAddress- Takes in a parameter of ipAddress
-
removeDMZEntry
void removeDMZEntry()Information provided by the PKI file:
\brief Removes the DMZ entry.
-